<template>
  <div class="yingmoo-attention">
   <router-view></router-view>
    <ul class="nav">
      <router-link tag="li" to="/ymAttentionmedia">关注的媒体</router-link>
      <router-link tag="li" to="/ymAttentionstore">关注的店铺</router-link>
      <li>关注的活动</li>
      <div class="uploading">
        <input type="text" placeholder="请输入搜索的活动" />
        <div class="btn">搜索</div>
      </div>
    </ul>
    <div class="model">
      <div class="form">
        <ul>
          <li>活动名称</li>
          <li>活动时间</li>
          <li>活动状态</li>
        </ul>
        <ul class="sheet" v-for="m in model">
          <li>{{m.name}}</li>
          <li>{{m.time}}</li>
          <li>{{m.redia}}</li>
        </ul>
      </div>
      <ul class="ul">
        <li>
          <input type="checkbox" id="ours" />
          <label for="ours">全选</label>
        </li>
        <li>
          <img src="../assets/ym-member/media/attention.png" />取消关注
        </li>
        <li>
          <img src="../assets/ym-member/media/right.png" />完成
        </li>
        <li>批量操作</li>
      </ul>
    </div>
    <!--  分页器  -->
    <div class="paging">
      <el-pagination
        :page-size="10"
        background
        layout="prev, pager, next, jumper"
        :total="1000">
      </el-pagination>
    </div>
  </div>
</template>

<script>
  export default {
    name: "yingmoo-attention",
    data() {
      return {
        model:[{
          name: '活动名称活动名称',
          time: '2017-11-30 至 2017-12-30',
          redia: '进行中'
        },{
          name: '活动名称活动名称',
          time: '2017-11-30 至 2017-12-30',
          redia: '进行中'
        },{
          name: '活动名称活动名称',
          time: '2017-11-30 至 2017-12-30',
          redia: '进行中'
        },{
          name: '活动名称活动名称',
          time: '2017-11-30 至 2017-12-30',
          redia: '进行中'
        },{
          name: '活动名称活动名称',
          time: '2017-11-30 至 2017-12-30',
          redia: '进行中'
        },{
          name: '活动名称活动名称',
          time: '2017-11-30 至 2017-12-30',
          redia: '进行中'
        },{
          name: '活动名称活动名称',
          time: '2017-11-30 至 2017-12-30',
          redia: '进行中'
        }]
      }
    }
  }

</script>

<style scoped lang="less">
  .yingmoo-attention {
    width: 100%;
    .nav {
      width: 1200px;
      height: 46px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      background-color: #f2f2f2;
      margin-top: 20px;
      li {
        list-style: none;
        width: 90px;
        height: 30px;
        margin: 0 20px;
        line-height: 30px;
        color: #666666;
        text-align: center;
        font-size: 16px;
        cursor: pointer;
        &:hover {
          background-color: #036eb7;
          color: white;
        }
        &:nth-child(3){
          background-color: #036eb7;
          color: white;
        }
      }
      .uploading {
        display: flex;
        margin-left: 555px;
        input {
          width: 180px;
          height: 24px;
          border-right: none;
          border-left: 1px solid #999999;
          border-top: 1px solid #999999;
          border-bottom: 1px solid #999999;
          padding-left: 8px;
          font-size: 14px;
          outline: none;
        }
        .btn {
          width: 51px;
          height: 28px;
          font-size: 14px;
          line-height: 28px;
          color: white;
          background-color: #f29600;
          text-align: center;
          cursor: pointer;
        }
      }
    }
    .model {
      width: 1200px;
      background-color: white;
      margin: 0 auto;
      padding-top: 24px;
      .form{
        ul{
          width: 1174px;
          height: 48px;
          background-color: #f4f4f4;
          color: #333333;
          display: flex;
          line-height: 48px;
          margin: 0 auto;
          li{
            width: 220px;
            text-align: center;
            &:nth-child(2){
              margin-left: 257px;
              margin-right: 257px;
            }
          }
        }
        .sheet{
          width: 1172px;
          height: 48px;
          background-color: white;
          color: #333333;
          border: 1px solid #f4f4f4;
          border-bottom: none;
          &:last-child{
            border-bottom: 1px solid #f4f4f4;
          }
        }
      }
      .ul{
        clear: both;
        width: 1200px;
        height: 46px;
        background-color: #f2f2f2;
        margin-top: 25px;
        li{
          float: left;
          line-height: 46px;
          color: #666666;
          margin-left: 22px;
          img{
            margin-right: 6px;
          }
          &:last-child{
            width: 130px;
            float: right;
            background-color: #f29600;
            text-align: center;
            color: white;
            font-weight: bold;
          }
        }
      }
    }
    .paging {
      width: 1200px;
      height: 35px;
      margin: 23px auto;
      text-align: center;
    }
  }

</style>
